﻿$().ready(function() {
    $("#loginForm").validate({
        rules: {
          stuname: "required",
          stupassword: "required"
        },
        messages: {
        	stuname: "请输入您的名字",
        	stupassword: "请输入您的密码"
        }
    })
});